﻿using Dal;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bll
{
    public class ZhangHuBll
    {
        public int KaiHu(ZhangHu model)
        {
            using (var db = new BabyfaceEntities())
            {
                var dal = new ZhangHuDal(db);
                return dal.Add(model);
            }
        }

    }
}
